//
//  XDHabitWorldCell.m
//  XDEducation
//
//  Created by apple on 2017/4/13.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "XDHabitWorldCell.h"

@interface XDHabitWorldCell ()

@end

@implementation XDHabitWorldCell



- (IBAction)studyHabitButtonAction:(UIButton *)sender {
    if (self.itemBlock) {
        NSString *str = @"学习习惯";
        self.itemBlock(str);
    }

}

- (IBAction)lifeHabitButtonAction:(UIButton *)sender {
    if (self.itemBlock) {
         NSString *str = @"生活习惯";
        self.itemBlock(str);
    }

}

- (IBAction)behaviorHabitButtonAction:(UIButton *)sender {
    
    if (self.itemBlock) {
         NSString *str = @"行为习惯";
        self.itemBlock(str);
    }

}

@end
